home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Entertainment / MacMud / Mud 4.0 / instrs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-30  |  348 b   |  16 lines  |  [TEXT/tefi]

  1. /*
  2.  * Information about all instructions. This is not really needed as the
  3.  * automatially generated efun_arg_types[] should be used.
  4.  */
  5.  
  6. struct instr {
  7.     short max_arg, min_arg;    /* Can't use char to represent -1 */
  8.     char type[2];
  9.     short Default;
  10.     short ret_type;
  11.     char *name;
  12.     int arg_index;
  13. };
  14.  
  15. extern struct instr instrs[256];
  16.